package com.zmn.oms.dubbo.interfaces.normal.order;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.vo.KVDict;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 类描述：
 *
 * @author wangxiaokun
 * @since 2021/09/23 14:20
 */
@Api(
        value = "订单配置",
        tags = {"订单配置"}
)
public interface OrderConfigRemoteService {

    @ApiOperation(
            value = "获取验收配置",
            response = ResponseDTO.class,
            tags = {"订单配置"}
    )
    ResponseDTO<List<KVDict>> getAcceptanceConfig(@NotNull(message = "订单号不能为空")
                                                  @ApiParam(value = "订单号", required = true)
                                                  Long orderId);
}
